package com.woniuxy.controller.form;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.woniuxy.model.Answer;
import io.lettuce.core.dynamic.batch.BatchSize;
import lombok.Data;

import java.util.List;

@Data
public class CreateTopicForm {

    private static final long serialVersionUID = 1L;

    @TableId(value = "topic_id", type = IdType.AUTO)
    private Integer topicId;

    private String topicType;

    private String topicContent;

    /**
     * 发起话题的用户的id
     */
    private Integer topicAccountid;

    private String topicHotnum;

    private Long topicEndTime;

    private List<Answer> answers;
}
